package com.vip8.recorder.api.facade;

import com.vip8.recorder.api.model.base.MultiResult;
import com.vip8.recorder.api.model.base.SingleResult;
import com.vip8.recorder.api.model.dto.OssToken;
import com.vip8.recorder.api.model.dto.RecorderDTO;
import com.vip8.recorder.api.model.params.VideoParams;


public interface RecorderFacade {
    /**
     * 获取oss上传sts授权
     *
     * @param
     * @return
     */
    SingleResult<OssToken> getOssToken(String ossParams);

    SingleResult<Boolean> uploadVideo(String videoParams);

    /**
     * 视频关键点标记
     *
     * @param videoParams
     * @return
     */
    SingleResult<Boolean> markVideo(String videoParams);


    /**
     * 视频首页查询
     *
     * @param queryParams
     * @return
     */
    MultiResult<RecorderDTO> queryRecorderHome(VideoParams queryParams);

    /**
     * 视频导出
     *
     * @param queryParams
     * @return
     */
    MultiResult<RecorderDTO> exports(String queryParams);

    /**
     * 视频列表查询接口
     *
     * @param queryParams
     * @return
     */
    MultiResult<RecorderDTO> queryList(String queryParams);
}
